/*
 * @Author: suxunying
 * @desc: reducer模块管理
 * @Date: 2021-07-21 10:05:28
 * @LastEditors: suxunying
 * @LastEditTime: 2021-07-23 15:45:30
 * @FilePath: \cocosdashboard\src\shared\pool.ts
 */
import { combineReducers, createStore } from 'redux';
import userReducer from './modules/user/reducer';
import localeReducer from './modules/locale/reducer';

const staticReducers = combineReducers({
    user: userReducer,
    locale: localeReducer,
});

const pool = createStore(staticReducers);

export default pool;
